package com.xcyy.zjdxmjk.zjdxmjk.service;

import com.xcyy.zjdxmjk.zjdxmjk.entity.Town;

import java.util.List;

public interface TownService {
    Town save(Town town);
    List<Town> findAll();
    Object countZjdAndJsyd();
    Object countDcjggs();
    Object countDcjggsGroupByCode(String code);
    List<Town> findByCodeStartsWith(String code);
    List<Object> countDept();
    List<String> countDeptCode(String dept);
    List<Town> findByDept(String dept);
    Town findByCode(String code);
    List<Object> countZjdAndJsydGroupByCountry();
    List<Object> countZjdAndJsydGroupByCity();
    List<Town> findByName(String name);
}
